@charset "utf-8";
/* CSS Document */
html, body, div, span, p, a, em, img, ul, li {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

a {
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

em {
    font-style: normal;
}

ul {
    list-style: none;
}

body, html {
    height: 100%;
    background: #e64f62 url(http://66xiaoqu.babytreeimg.com/images/christmas/bg_l.png) right -4.6% repeat-y;
    background-size: 3% auto;
    overflow: hidden;
}

/*清除浮动代码*/
.fl {
    float: left;
}

#wrapper {
    border: 1px solid #fff;
    color: #fff;
    -webkit-text-size-adjust: none;
    position: relative;
    margin: 0 auto;
    -webkit-overflow-scrolling: touch;
    max-width: 640px;
    height: 100%;
    overflow: auto;
}

.con {
    height: 100%;
    background: #e64f62 url(http://66xiaoqu.babytreeimg.com/images/christmas/bg_l.png) right -4.6% repeat-y;
    background-size: 3% auto;
}

img {
    border: none;
    max-width: 100%;
}

.page1 {
    text-align: center;
    height: 100%;
    background: url(http://66xiaoqu.babytreeimg.com/images/christmas/bg_l.png) -1px -4.2% repeat-y;
    background-size: 3% auto;
}

.page1-l {
    display: inline-block;
    height: 100%;
    width: 1px;
    vertical-align: middle;
    overflow: hidden;
}

.page1-r {
    display: inline-block;
    width: 99%;
    vertical-align: middle;
}

.page1 img {
    max-width: 99%;
    max-height: 80%;
}

.top-pic {
    background: url(http://66xiaoqu.babytreeimg.com/images/christmas/bg-t.png) center -1px repeat-x;
    background-size: auto 10%;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}

.page2 {
    background: url(http://66xiaoqu.babytreeimg.com/images/christmas/bg_l.png) -1px -4.2% repeat-y;
    background-size: 3% auto;
    margin-top: -4%;
}

#rule_img {
    background: url(http://66xiaoqu.babytreeimg.com/images/christmas/bg_l.png) right -4.6% repeat-y;
    background-size: 3% auto;
}

.page2 img {
    margin: 0 2%;
    width: 96%;
    display: block
}

.bottom-pic {
    background: url(http://66xiaoqu.babytreeimg.com/images/christmas/bg-t.png) center bottom repeat-x;
    background-size: auto 6%;
    width: 100%;
}

.btn {
    display: inline-block;
    background: #5aa533;
    border-radius: 4px;
}

.page1 .join-a {
    margin: 13px 23% 0;
    width: 48%;
    padding: 10px 20px 8px 20px;
}

.page1 .outsite-a {
    margin: 13px 20% 0;
    width: 40%;
    padding: 10px 20px 8px 20px;
}

.page2 .btn {
    display: inline-block;
    width: 38%;
    margin: 20px 0% 20px 10%;
}

.page2 .share {
    margin-left: 4%;
}

.page2 .outsite {
    margin-left: 4%;
}

.page2 .btn img {
    display: block;
    margin: 0 auto;
}

.page2 .join-a img {
    width: 80%;
    padding: 10% 0;
}

.page2 .share img {
    width: 46%;
    padding: 8% 0;
}

.page2 .outsite-a img {
    width: 76%;
    padding: 8.5% 0;
}

@media only screen and (max-height: 420px) {
    .page1-pic {
        margin-top: 9%;
    }

    .page1 .btn {
        margin-top: 4px;
    }
}

.share-pop {
    display: none;
    background: rgba(0, 0, 0, 0.7) url(http://66xiaoqu.babytreeimg.com/images/christmas/share-tips.png) 90% 4% no-repeat;
    background-size: 74% auto;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 9;
}

.pop {
    background: rgba(0, 0, 0, 0.7);
    display: none;
    color: #fff;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    z-index: 9;
}

.pop img {
    right: 0;
    position: absolute;
    width: 60%;
    top: 0
}